import request from '@/utils/request'
const baseUrl = '/cz-rentbox/api/v1'

// ### 发送发票到邮箱
// ##
// {
//     "id": "1814240791595909246",
//     "email":"sgl@aiczgj.com"
// }
// ### 输入参数:
//    # id: 发票id
//    # email: 邮箱
// # 输出model:
// #  # 1  主键Id
export const sendInvoice = (data: any) =>{
    return request({
        url: baseUrl + "/invoices/sendingInvoiceToEmail",
        method: 'POST',
        data: data
    })
}
